<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="utf-8">
    <title>JSDoc: Class: BackgroundMedia</title>

    <script src="scripts/prettify/prettify.js"> </script>
    <script src="scripts/prettify/lang-css.js"> </script>
    <!--[if lt IE 9]>
      <script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
    <![endif]-->
    <link type="text/css" rel="stylesheet" href="styles/prettify-tomorrow.css">
    <link type="text/css" rel="stylesheet" href="styles/jsdoc-default.css">
</head>

<body>

<div id="main">

    <h1 class="page-title">Class: BackgroundMedia</h1>

    




<section>

<header>
    
        <h2><span class="attribs"><span class="type-signature"></span></span>BackgroundMedia<span class="signature">()</span><span class="type-signature"></span></h2>
        
    
</header>

<article>
    <div class="container-overview">
    
        

    

    
    <h4 class="name" id="BackgroundMedia"><span class="type-signature"></span>new BackgroundMedia<span class="signature">()</span><span class="type-signature"></span></h4>
    

    















    <h5 class="subsection-title">Properties:</h5>

    

<table class="props">
    <thead>
    <tr>
        
        <th>Name</th>
        

        <th>Type</th>

        

        

        <th class="last">Description</th>
    </tr>
    </thead>

    <tbody>
    

        <tr>
            
                <td class="name"><code>currentMedia</code></td>
            

            <td class="type">
            
                
<span class="param-type">MediaController</span>


            
            </td>

            

            

            <td class="description last"><p>The mediaController which has been placed into the background during playback.</p></td>
        </tr>

    

        <tr>
            
                <td class="name"><code>nextItem</code></td>
            

            <td class="type">
            
                
<span class="param-type">Item</span>


            
            </td>

            

            

            <td class="description last"><p>The playlist item loading in the background.</p></td>
        </tr>

    

        <tr>
            
                <td class="name"><code>nextMedia</code></td>
            

            <td class="type">
            
                
<span class="param-type">Promise</span>


            
            </td>

            

            

            <td class="description last"><p>A promise representing the media loading in the background. Resolves with the mediaController.</p></td>
        </tr>

    
    </tbody>
</table>




<dl class="details">

    

    

    

    

    

    

    

    

    

    

    

    

    

    

    

    
</dl>


















    
    </div>

    

    

    

    

    

    

    

    

    

    
</article>

</section>




</div>

<nav>
    <h2><a href="index.html">Home</a></h2><h3>Classes</h3><ul><li><a href="Api.html">Api</a></li><li><a href="BackgroundMedia.html">BackgroundMedia</a></li><li><a href="InstreamAdapter.html">InstreamAdapter</a></li><li><a href="PlayerError.html">PlayerError</a></li><li><a href="Timer.html">Timer</a></li></ul><h3>Global</h3><ul><li><a href="global.html#ERROR_LOADING_PLAYLIST">ERROR_LOADING_PLAYLIST</a></li><li><a href="global.html#ERROR_LOADING_PLAYLIST_ITEM">ERROR_LOADING_PLAYLIST_ITEM</a></li><li><a href="global.html#ERROR_LOADING_PROVIDER">ERROR_LOADING_PROVIDER</a></li><li><a href="global.html#FLASH_ERROR">FLASH_ERROR</a></li><li><a href="global.html#FLASH_MEDIA_ERROR">FLASH_MEDIA_ERROR</a></li><li><a href="global.html#FLASH_SETUP_ERROR">FLASH_SETUP_ERROR</a></li><li><a href="global.html#HTML5_BASE_MEDIA_ERROR">HTML5_BASE_MEDIA_ERROR</a></li><li><a href="global.html#HTML5_ERROR_LIVE_STREAM_DOWN_OR_ENDED">HTML5_ERROR_LIVE_STREAM_DOWN_OR_ENDED</a></li><li><a href="global.html#HTML5_NETWORK_ERROR">HTML5_NETWORK_ERROR</a></li><li><a href="global.html#jwplayer">jwplayer</a></li><li><a href="global.html#load">load</a></li><li><a href="global.html#SETUP_ERROR_LICENSE_EXPIRED">SETUP_ERROR_LICENSE_EXPIRED</a></li><li><a href="global.html#SETUP_ERROR_LICENSE_INVALID">SETUP_ERROR_LICENSE_INVALID</a></li><li><a href="global.html#SETUP_ERROR_LICENSE_MISSING">SETUP_ERROR_LICENSE_MISSING</a></li><li><a href="global.html#SETUP_ERROR_LOADING_CORE_JS">SETUP_ERROR_LOADING_CORE_JS</a></li><li><a href="global.html#SETUP_ERROR_LOADING_PLAYLIST">SETUP_ERROR_LOADING_PLAYLIST</a></li><li><a href="global.html#SETUP_ERROR_LOADING_PROVIDER">SETUP_ERROR_LOADING_PROVIDER</a></li><li><a href="global.html#SETUP_ERROR_TIMEOUT">SETUP_ERROR_TIMEOUT</a></li><li><a href="global.html#SETUP_ERROR_UNKNOWN">SETUP_ERROR_UNKNOWN</a></li></ul>
</nav>

<br class="clear">

<footer>
    Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a>
</footer>

<script> prettyPrint(); </script>
<script src="scripts/linenumber.js"> </script>
</body>
</html>